For the database from the previous question, please give an
SQL query which returns the invoice number of all invoices
which contain the article with the number ?1234?. The query
should be able to run under a MySQL 4.0 database.
Answer Posted / frank
SELECT invoiceNumber FROM invoices i INNER JOIN articles a
ON i.articleId=a.articleId WHERE article LIKE '%1234%';
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I edit a database in mysql workbench?
How set mysql root password?
What is “i_am_a_dump” flag in mysql?
I want to insert userid of a customer,order time,etc in a table called ordermaster with orderid as primary key.Same time the product codes and required quantities (a1,2 and a2 4 and so on)inserted in another table orderdetails with same orderid reference.How the code will be in JSP using MySQL?
Is mysql relational?
Can mysql store files?
What is root password?
Is mysql still popular?
Is mysql free for enterprise?
What is difference between Sql server and MySql database? It may be silly question but i really dont know.
What is sqlyog?
What is limit in mysql?
What is delimiter in mysql stored procedure?
What is a data directory?
What is difference between mysql and mariadb?