A social media post by Santa Claus @Santaclaus@c.im. It says: A valiant effort has been made by Little Tim this year, who for some reason has decided to change his name to Tim); INSERT INTO [NiceList] SELECT * FROM [NaughtyList];- HO HO HO! Nice try Tim. I don't use #SQL, I use several dozen interconnected #Excel spreadsheets, like a professional.
you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago
CREATE VIEW NiceList AS
 SELECT * FROM Children
  WHERE behavior > 2000
   AND parent.income > 40000; 
CREATE VIEW NaughtyList AS
 SELECT * FROM Children
  WHERE behavior <= 2000; 
  • source
  • parent