CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 inner join

Print topic Send  topic

Author Message
mohamedazmi

Posts: 13
Posted: 04/26/2011, 8:37 PM

how to select * that is null--

example

SELECT auto_desc, comp_desc, inhse_desc, macro_desc
FROM ((((((request INNER JOIN tbl_comp ON
request.req_com_id = tbl_comp.comp_id) INNER JOIN tbl_mont ON
request.req_autocad = tbl_auto.auto_id) INNER JOIN tbl_macro ON
request.req_macro = tbl_macro.macro_id) INNER JOIN tbl_inhse ON
request.req_inhse_apps = tbl_inhse.inhse_id
View profile  Send private message
damian

Posts: 838
Posted: 04/27/2011, 12:24 AM

where fieldname IS NULL
or
where fieldname IS NOT NULL


_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
ckroon

Posts: 869
Posted: 04/27/2011, 10:54 PM

I found that making a VIEW of the tables.. then joining the view to another table and using WHERE field IS NULL works well and keeps it simple.

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.