Bluehost.com Web Hosting $6.95

Check for statement

This is a discussion on Check for statement within the MySQL Database forums, part of the Database Forums category; If I have a MySQL-query that seems like this: SELECT `dom`.`id`, `sam`.`id`, `fld`.`id` FROM `dom`, `fld`, `...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-03-2007
The87Boy
 
Posts: n/a
Default Check for statement

If I have a MySQL-query that seems like this:
SELECT `dom`.`id`, `sam`.`id`, `fld`.`id` FROM `dom`, `fld`, `sam`
WHERE `dom`.`id`='1', `sam`.`id`='6', `fld`.`id`='4';

Can I then count, if there is 3 returning values, or does anybody have
a better idea to check, if there are 3 returning values?

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0