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 / 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 |
Can foreign key have duplicate values?
How do I transfer data from one database to another in mysql?
How to create triggers in MySQL?
suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?
about join
How do you restart mysql?
What?s the difference between PRIMARY KEY and UNIQUE in MyISAM?
How to calculate the difference between two dates?
Consider you have the following three tables which have to be linked together.
Is mysql easy to learn?
How to use like conditions?
Why do we use group by and order by function in mysql?