The table tbl_sites contains the following data:
-----------------------------------------------------
Userid sitename country
------------------------------------------------------
1 sureshbabu indian
2 PHPprogrammer andhra
3 PHP.net usa
4 PHPtalk.com germany
5 MySQL.com usa
6 sureshbabu canada
7 PHPbuddy.com pakistan
8. PHPtalk.com austria
9. PHPfreaks.com sourthafrica
10. PHPsupport.net russia
11. sureshbabu australia
12. sureshbabu nepal
13. PHPtalk.com italy
Write a select query that will displayed the duplicated
site name and how many times it is duplicated?
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.
A company wants to store their invoices in a database. They
already have their customers and articles in that database.
Both customer and article are each identified by an unique
integer value. Please create the SQL statements for
creating the necessary table(s) for storing the invoices in
a MySQL database. An invoice should hold information like
invoice number, customer, date, article(s) and quantity
etc.
A select query over a large table runs very slow because of
the growing number of entries in that table. What different
measures could be taken to improve speed?
How to enable or disable a row of a table using MySQL in
struts?
207
mazimum size of a database in mysql? when we create a table
then how many tables actually created? write there name?
25
HOW TO FIND display the total number of weeks in the year
of 1998 IN EMP TABLE
58
Can anyone help me to create a good mysql database schema
with an example.
Thanks,
Sekar.jr
101
what is the advantage of stored procedures, triggers and
indexing in mysql
35
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 ?
how many fields can be updated using set in a mysql query?
36
i made a table whih contain a column "Photo" with image
data type and i want to insert the byte of a picture
present in my hardisk using insert statement in that
colum... so what will be my insert statement?
237
how many table created when we create a table in mysql?
38
How to set the time zone for MySQL to particular country
time?