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
What is the purpose of mysql database?
Can I use mariadb instead of mysql?
What is definer in mysql trigger?
What is the difference between a heap table and temporary table?
What are queries used for?
How would you get the current date in mysql?
what is database white box testing? : Mysql dba
What are mysql queries?
What is mysqli_select_db?
What is blob and text in mysql?
What are the column comparisons operators?
Can we create table in stored procedure?
Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?
What is a heap table?
How to include numeric values in sql statements?