SQL

Home/Tag:SQL

SQL Practical Notes

By |2021-01-20T19:23:23-05:00January 20th, 2021|Categories: Technique技术|Tags: , , |

MySQL 'group by' together with 'partition by' Online MySQL Database create table Test(cc varchar(25), item varchar(100), num integer); insert into Test(cc, item, num) values('ca', '8.1.4', 11); insert into Test(cc, item, num) values('cn', '8.1.1', 1); insert into Test(cc, item, num) values('cn', '8.1.4', 15); insert into Test(cc, item, num) values('cn', '8.1.3', 5); insert into Test(cc, item, [...]

如何学习SQL

By |2018-07-26T21:41:25-04:00July 26th, 2018|Categories: Note笔记|Tags: |

如何学习 SQL 语言? - 知乎 经典SQL练习题 - CSDN博客 sql练习网站 - CSDN博客 MySQL SQL常用语句自我测试练习-苦逼程序员-迈进-51CTO博客 将MySQL安装到D盘 – 程泽群的博客 MySQL Commands sql 练习(五) - 简书 经典SQL练习题 查询Score表中的最高分的学生学号和课程号。(子查询或者排序) SELECT sno,cno FROM score WHERE degree =(SELECT MAX(degree) FROM score) select sno, cno from score order by degree desc limit 1,1; 查询Score表中至少有5名学生选修的并以3开头的课程的平均分数。 SELECT AVG(degree),cno FROM score WHERE cno LIKE '3%' GROUP BY [...]

Comments Off on 如何学习SQL

SQL Coding Challenge – Leetcode

By |2018-07-26T21:39:33-04:00July 26th, 2018|Categories: Note笔记|Tags: , , |

Easy Difficulty Combine Two Tables - LeetCode SELECT FirstName, LastName, City, State FROM Person LEFT JOIN Address ON Person.PersonId = Address.PersonId; Second Highest Salary - LeetCode SELECT distinct(Salary) AS SecondHighestSalary FROM Employee UNION SELECT NULL ORDER BY SecondHighestSalary DESC LIMIT 1, 1; Employee Earning More Than Their Managers Assign two different names for single table and [...]

Comments Off on SQL Coding Challenge – Leetcode

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.
Go to Top