This commit is contained in:
Max W.
2025-01-31 13:05:11 +01:00
parent 0eae775942
commit 5497ef422d
8 changed files with 117 additions and 1 deletions

View File

@@ -96,4 +96,11 @@ where year like '19%0'; # 15307
select count(*)
from baby_names
where year % 10 = 0
and year between 1900 and 1999; # 15307
and year between 1900 and 1999; # 15307
select * from baby_names where name like 'Alex%' order by name desc;
select * from baby_names limit 50, 5; # offset, limit
select customers.firstname, customers.lastname, age from customers order by age desc, firstname;
select customers.firstname, customers.lastname, age from customers order by age desc, firstname limit 10;