can any one please send sql quries most used in applications.
Answers were Sorted based on User's Feedback
Answer / guest
select * from employee
where sal =
(select * from max(sal) from emp)
| Is This Answer Correct ? | 3 Yes | 3 No |
What's the information that can be stored inside a bit column?
What is difference between foreign key and unique key?
What is the recursive stored procedure in sql server?
What are different types of replication in sql server?
List the various tools available for performance tuning?
define and explain the differences between clustered and non-clustered indexes.
Do you know the different ddl commands in sql?
What do you mean by 'normalization'?
0 Answers Ernst Young, Thomson Reuters,
Why use update_statistics command in sql server?
can any one say how to update the following senario I have a table <srabank> in which the table structure is as follows ANAME ACCNO LOCATION ACCTYPE BAL SBanuPrakash 31518746291 Punganur deposit 4000 Sreenivas 31518746292 mahoobnagar current 14000 Ranjith 31518746293 Karimnagar Savings 2000 Giresh 31518746294 Chennai deposit 40000 Boo 31518746295 Chennai Savings 20000 Jay 31518746296 Valachari Savings 1000 tirumalraj 31518746297 Vellore Savings 8000 The senario is We need to select one account number and check the balance after checking the balance if the balance exist we need to transfer to another account . in the from account the amount need to be reduced and in the to account the amount needed to be added. for example for the <accountno> <31518746291> the balance is <4000> for the <accno> <31518746292> the balance is <14000> after transferring the balance the details will look as follows <accno><31518746291> <bal> <2000> <accno><31518746292> <bal> <16000> the above mentioned two statment will come under the final result.
How are SQL Server databases physically stored under Windows 2000?
What are the restrictions that views have to follow?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)