最新 最热

LeetCode 0181 - Employees Earning More Than Their Managers

The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.

2021-08-11
0

LeetCode 0182 - Duplicate Emails

Write a SQL query to find all duplicate emails in a table named Person.

2021-08-11
1

LeetCode 0197 - Rising Temperature

Given a Weather table, write a SQL query to find all dates’ Ids with higher temperature compared to its previous (yesterday’s) dates.

2021-08-11
0

LeetCode 0196 - Delete Duplicate Emails

Write a SQL query to delete all duplicate email entries in a table named Person, keeping only unique emails based on its smallest Id.

2021-08-11
1

LeetCode 0596 - Classes More Than 5 Students

There is a table courses with columns: student and class

2021-08-11
1

LeetCode 0627 - Swap Salary

Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m values (i.e., change all f values to m and vice versa) with a...

2021-08-11
0

PostgreSQL 使用 DROP TABLE 语句来删除表格

PostgreSQL 使用 DROP TABLE 语句来删除表格,包含表格数据、规则、触发器等,所以删除表格要慎重,删除后所有信息就消失了。

2021-08-11
1

PCIe中MSI和MSI-X中断机制

在PCI总线中,所有需要提交中断请求的设备,必须能够通过INTx引脚提交中断请求,而MSI机制是一个可选机制。而在PCIe总线中,PCIe设备必须支持MSI或者MSI-X中断请求机制,而可以不支持INTx中断消息。...

2021-08-10
1

ARM64 SMP多核启动(上)- spin-table

一般嵌入式系统使用的都是对称多处理器(Symmetric Multi-Processor, SMP)系统,包含了多个cpu, 这几个cpu都是相同的处理器,如4核Contex-A53。但是在系统 启动阶段他们的地位并不是相同的,其中core0是主cpu(也叫引导处理器),...

2021-08-06
1

MySQL 数据库创建索引及删除索引的操作命令

如果是CHAR,VARCHAR类型,length可以小于字段实际长度;如果是BLOB和TEXT类型,必须指定 length。

2021-07-27
1