How can I write the following statement?
PSEUDOCODE:
Look in the database and see if this book was reserved between Date1 and Date2. If the book was not reserved between Date1 and Date2 then INSERT the variables (Book Name, Author and Company) into that table. Is it possible to add SELECT and INSERT into the same statement?
Help is greatly appreciated!
Johnny
PSEUDOCODE:
Look in the database and see if this book was reserved between Date1 and Date2. If the book was not reserved between Date1 and Date2 then INSERT the variables (Book Name, Author and Company) into that table. Is it possible to add SELECT and INSERT into the same statement?
Help is greatly appreciated!
Johnny