当前位置:网站首页>It's the first time that the programmer interview pays so much attention to the concept of investigation
It's the first time that the programmer interview pays so much attention to the concept of investigation
2022-06-13 11:08:00 【Love development V】
Does the programmer interview pay so much attention to the concept of investigation ?
A friend is a programmer , do java Developed , Have more than two years of development experience , Coordinates Guangzhou .
Once I applied for a software development position in a software company in Keyun road information port .
The interviewer gave him a written test , Two of them are like this :
1.DDL、DML What is the full name , What's the difference between the two ?
2.MYSQL in delete and drop What's the difference? ?
I feel that such written test questions are too basic , It's OK to investigate the newly graduated job seekers , If you have work experience , It doesn't make much sense , It's better to use this time to ask more about the candidate's project experience .
For these two questions , Maybe I can't remember for a while , Let's summarize briefly .
DDL(data definition language) Data definition language , User definition and management sql The language of all objects in the database .
The main command :create、alter、drop etc.
DML(data manipulation language) Data operation language .
The main command :select、update、insert、delete etc.
drop The command is mainly used to delete data structures , Including internal data content .(drop database database_name;drop table table_name)
delete The command is mainly used to delete data contents , Do not delete data structure .(delete Field name from Table name where Conditions )
have access to delete Command to execute rollback operation , Because it uses buffers , The corresponding... Is triggered during execution trigger; But in the use of drop Cannot operate rollback in case of command , Not triggered during operation trigger.
because delete The command does not delete the table , So it doesn't free up any space ; and drop The command will delete the entire table , To free up memory space .
Previous recommendation
mysql Self growth id Run out of , What do I do ?
left join and left outer join What's the difference? ?
group by 1,2 、having Usage of , How much do you know ?
The new architect said to me ,“ How do you use it count(*), Too slow , use count(1)”
边栏推荐
- vivo大规模 Kubernetes 集群自动化运维实践
- Interval modification multiplication and addition (a good example of understanding lazy tags)
- 求组合数四种方法
- Brief introduction of class file structure and class loading process execution engine
- Alibaba's employees decreased by 4000 in the first quarter; Programmers wrote scripts to hang up vaccine numbers and were arrested for making a profit of 400000 yuan; Sohu encounters epic email fraud,
- 终于,月入 20000 !!
- 作为一个测试人员,这些基础知识必不可少
- Flutter simple and excellent open source dialog uses free_ dialog
- C# 文件打包下载
- Analysis and summary of 2021ccpc online games
猜你喜欢
Brief introduction to memory structure of virtual machine
Database learning notes (Chapter 16)
恶意代码实战分析Lab05-01
Anonymity in Web3 and NFT
【TcaplusDB知识库】TcaplusDB运维单据介绍
Finally, the monthly income is 20000!!
Private computing fat core concepts and stand-alone deployment
Go 要加个箭头语法,这下更像 PHP 了!
2021CCPC网络赛题解加总结
vivo大规模 Kubernetes 集群自动化运维实践
随机推荐
Ubuntu installs MySQL compressed package for future reference
Database system concept (Chapter 17)
关于 SAP Spartacus CmsService.getComponentData 可能的优化思路
State compression DP example (traveling salesman problem and rectangle filling problem)
winform 解决黑屏 频繁刷新
vivo大规模 Kubernetes 集群自动化运维实践
欧拉函数和线性筛求欧拉函数
Brief introduction to memory structure of virtual machine
2020 ICPC Asia Taiwan Online Programming Contest C Circles
Private computing fat core concepts and stand-alone deployment
【TcaplusDB知识库】TcaplusDB机型管理介绍
Pyepics download and installation
Determine the maximum match between bipartite graph and bipartite graph
2021CCPC网络赛榜单
【sql语句基础】——查(select)(单表查询顺序补充)
服务器的使用
Nature communications - modeling armed conflict risk under climate change using machine learning and time series data
5.5 clock screensaver
MFC custom button to realize color control
判定二分图和二分图最大匹配