Jump to content

Archived

This topic is now archived and is closed to further replies.

aveach

Easy select ?

Recommended Posts

I need to select all the records in my table that have entries in a particular column. Like

Select * from bar_info where bar_website=notnull

I just want to display all the records that have entries in the bar_website column.

Obviously I\'m new, Please help. Thanks

Share this post


Link to post
Share on other sites

select * from bar_info where bar_website is not null;

select * from bar_info where bar_website!=NULL;

 

i think either will do. i hope my syntax is right... i haven\'t sql\'ed in awhile :shock:

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.