Hi all.
I have 2 tables, both of which contain a feild which holds an id number.
table = int_bookings
feild name = booking_id, TYPE =int
feild name = course_id, TYPE = int
table int_courses
feild name id, TYPE = int
I want to call records from the "int_bookings" table using the "booking_id" and show all the feilds along with the record from the "int_courses" that has the same "course_id".
This is what I have so far.
SELECT *
FROM int_course_booking, int_courses
WHERE int_course_booking.booking_id = int_courses.id
I know that this is not correct, because it don't work. Am I far off or is it just some adjustment required.
Many thanks for any help you can give