Sql Query to Select


Take Particular Column :

 SELECT ColumnName From TableName

Take Particular Row From Table:

 SELECT * FROM TableName WHERE ColumName ='xyz'

 (Note: If the column is Interger u can directly pass the value if it is string means u can use single quotes )

Take Particular row and Column :

SELECT ColumnName FROM TableName WHERE ColumnName=x -- Note When x is integer

Dynamic Sql —

After u learn normal sql, Please go to practice for Dynamic sql. That will help to improve ur logics