Forum: MySQL Apr 25th, 2005 |
| Replies: 1 Views: 2,474 Please, please, help me out in rewriting my sub-query to some kind of JOIN for earlier MySQL version:
The query should retrive any availble rooms from the database
MY ATTEMPTED SUB-QUERY: ... |
Forum: Database Design Apr 21st, 2005 |
| Replies: 2 Views: 2,450 Hi friends, I have very little knowledge of JOINs. Please, help me out in rewriting my sub-query to some kind of JOIN for earlier MySQL version
TABLES IN MY DATABASE:
Room (room_ no, room_... |
Forum: MS SQL Apr 21st, 2005 |
| Replies: 3 Views: 5,153 Hi friends, I have very little knowledge of JOINs. Please, help me out in rewriting my sub-query to some kind of JOIN for earlier MySQL versios.
TABLES IN MY DATABASE:
Room (room_ no, room_... |
Forum: MySQL Apr 19th, 2005 |
| Replies: 4 Views: 3,811 THIS WAS THE ERROR CODE:
#1064 - You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near
'SELECT R.room_no... |
Forum: Database Design Apr 19th, 2005 |
| Replies: 7 Views: 3,586 The error is as follows:
SELECT *
FROM room
WHERE room_no NOT
IN (
SELECT R.room_no
FROM room R, Booking B
WHERE R.room_no = B.room_no AND R.room_type = 'single' AND
... |
Forum: Database Design Apr 18th, 2005 |
| Replies: 7 Views: 3,586 |
Forum: Database Design Apr 18th, 2005 |
| Replies: 7 Views: 3,586 Hi Friends, I need your help.
Whenever I do a query on localhost it retrieves a value, but when I try on live it shows an error? What could be the problem? |
Forum: MySQL Apr 16th, 2005 |
| Replies: 4 Views: 3,811 Hey folks, I need your help. I stuck with my Database project.
I have five tables on the database: These are
Room, Guest, Booking, Employee and Admin
Room (room_ no, room_ type, price)... |