Flag this interview question as inappropriate Inappropriate
See Answer

Single table can't have more than one Primary key.

Create Date
:
Sunday, March 09, 2008
Tags
:
Asked At
:
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
Optimization techniques are -
1.litmit
2.keys
3. indexing
Create Date
:
Sunday, March 09, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
When u r using mysql_fetch_object i will first matching record. You can access the result set by column name of that record.
When u r using mysql_fetch_array i will fetch all the matching records from the table.
You can access the result set by index as well as colum name of that record.
Create Date
:
Sunday, March 09, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
We can improve the speed by creating the index on necessary fields.
Create Date
:
Sunday, March 09, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
To Change Name of Column:
      Sy: Alter Table <Table Name> Change <Old ColumnName> <NewColumnName>;
To Change DataType of Column:
       Sy: Alter Table <Table Name> Modify <ColumnName> <DataType>;
Create Date
:
Sunday, March 09, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
Groupby -->  It is a way to sub-total your results,or perform some other 'aggregate' functions on them.
Orderby -->  It is a simply a way to sort your results. It doesn't affect what shows up in your result set,only 
                     what order it is displayed
Create Date
:
Sunday, March 09, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer