当前位置:网站首页>The interviewer only asked me five questions and the interview was over
The interviewer only asked me five questions and the interview was over
2022-06-13 01:21:00 【Torlesse】
2022 year 2 month 26 Japan , Today is an unforgettable day for me ! I just attended a meeting today Java interview , The interviewer asked some basic interview questions . for example , Overload override differences , Set related , But even so, I was puzzled by a problem .
interviewer Ask me : Do you know the difference between database primary key and index ?
I The first reaction to this question is :??? It's covered up , What's the difference between the two . Why did you take it “ Primary key ” Compare it with the index ? There is a difference of 18000 miles ? Or do I have other blind spots ? These doubts are all surging up in my heart , There is no time for me to think , I can only answer .
Then I replied :“ Primary key ” I don't know much about this concept , All I know is that indexing can be done much faster Retrieval speed of data , You can search according to the index tree when querying the database .
After I answer , I haven't lost my mind yet , The interviewer announced that the interview was over .
After the event , I talked with my friend about the interview experience , I told him I couldn't answer a question , Then I asked him : database “ Primary key ” And index ?
He said it was not easy ? A primary key is a unique identifier for each row of data , It can't be repeated , Must be unique .
After hearing this, I had an epiphany : I opened my mouth to the quintessence of Chinese culture , It turned out to be a primary key !!! It's not a component . Let me just say why we compare components and indexes , This is not logical at all .
To make a long story short , I'm a Han Han . Stop talking and go on .
边栏推荐
- Database query user mailbox
- C language implementation of the classic eight queens problem
- Leetcode-13- Roman numeral to integer (simple)
- Create a simple game interface using pyGame
- MySQL index
- 在国企做软件测试工程师是一种什么样的体验:每天过的像打仗一样
- Stmarl: a spatio temporal multi agentreinforcement learning approach for cooperative traffic
- 五篇经典好文,值得一看(2)
- Unity calls alertdialog
- 论文笔记:STMARL: A Spatio-Temporal Multi-AgentReinforcement Learning Approach for Cooperative Traffic
猜你喜欢

Introduction to common activation functions

Traditional machine learning classification model predicts the rise and fall of stock prices under more than 40 indicators

MySQL exception: com mysql. jdbc. PacketTooBigException: Packet for query is too large(4223215 > 4194304)

Leetcode question brushing 06 bit operation

redis
![[latex] insert picture](/img/0b/3304aaa03d3fea3ebb93b0348c3131.png)
[latex] insert picture
![[Stanford Jiwang cs144 project] lab1: streamreassembler](/img/7b/fad18b68a6ee30d1dec4dad6273b98.png)
[Stanford Jiwang cs144 project] lab1: streamreassembler

Work and life

工作与生活

How does Apple add QQ email?
随机推荐
5G工业网关在煤矿行业的应用优势
Go JWT learning summary
软件测试的几种分类,一看就明了
Quick power explanation
ES6解构赋值
np. Understanding of axis in concatenate
Install pycharm process
Tangent and tangent plane
【斯坦福計網CS144項目】Lab1: StreamReassembler
[Stanford Jiwang cs144 project] lab1: streamreassembler
軟件測試的幾種分類,一看就明了
Leetcode-78- subset (medium)
Pytorch's leafnode understanding
Go simple read database
RSA encryption colloquial explanation
How the ET framework uses it to develop games
Breadth first search for node editor runtime traversal
Ecological convergence NFT attacks, metaverse ape leads the new paradigm revolution of Web 3.0 meta universe
Sliding window summary of TCP connections
Jenkins持续集成操作