apexad.net
we'll just have to cross that bridge when we come to it
Fun with SQL
So, I really need a new post up all about SQL and sadly I don’t have any really great ideas to write about right now. I’ve decided I am going to do something fun and write some interesting SQL statements that will make you laugh, make you think, or maybe give you an idea for a future prank to pull on someone.
First, subliminal messages..
Select 'The' From Up
Dogs and cat’s living together…
select concat('dog',StudentName) from a_Student
Some SQL thoughts…
Have you ever tried to create a table named Table? or Join? or Select? or Insert? or (insert sql keyword here)?
Say you have a 3-column table. Does it make any sense to create a Primary key that includes all 3 columns? (I did this recently)
Silent Quiet LOUD (or should that be Light?)
|