Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2011, 03:06 PM
Quizy Quizy is offline
Sarnak

Quizy's Avatar

Join Date: Sep 2011
Posts: 262
Default Need help with an SQL question on my homework

Anyone know the answer to this ? Thanks in advance.


3. You have a Table “TaxPayer” with the values below. Write a SQL query that finds all records where the id column is NULL. What would the output be?
-------------------------
Name | id
Alex | 111
Bertha| 231
Bill | NULL
Chris | NULL
Lauren| 634
-----------------------
Reply With Quote
  #2  
Old 10-13-2011, 03:10 PM
nilbog nilbog is offline
Project Manager

nilbog's Avatar

Join Date: Oct 2009
Posts: 14,460
Default

"all records" = whole row?

in mysql :

select * from taxpayer where id is null

bill null
chris null
Reply With Quote
  #3  
Old 10-13-2011, 03:22 PM
Quizy Quizy is offline
Sarnak

Quizy's Avatar

Join Date: Sep 2011
Posts: 262
Default

Quote:
Originally Posted by nilbog [You must be logged in to view images. Log in or Register.]
"all records" = whole row?

in mysql :

select * from taxpayer where id is null

bill null
chris null
thanks nilbog.. thats what i thought as well.. just learning all this right now.. i appreciate the help
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:31 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.