Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how to add a new column to an existing table?

939


how to Return total number of rows.

964


What is username in mysql?

850


What is the data source name for mysql?

889


What is 'mysqlimport'?

870


What do ddl, dml, and dcl stand for?

852


What is the default port for MySQL Server?

1012


What are the disadvantages of mysql?

1008


How many TRIGGERS are allowed in MySql table?

1021


How to use count function in mysql?

890


What is a string in mysql?

855


How do I copy an entire mysql database?

832


What are the column comparisons operators?

1176


How to show all records starting with the letters 'sonia' and the phone number '9876543210'

891


Is mysql case-sensitive?

837