Code:
select * from ( select y.mobileno,y.message,y.language,y.place,y.category,y.date,y.year from yourTable as y INNER JOIN (select mobileno, count(mobileno) from yourTable having count(mobileno)=1) as x ON
select * from ( select y.mobileno,y.message,y.language,y.place,y.category,y.date,y.year from yourTable as y INNER JOIN (select mobileno, count(mobileno) from yourTable having count(mobileno)=1) as x ON
select y.mobileno,y.message,y.language,y.place,y.category,y.date,y.year from yourTable as y INNER JOIN (select mobileno, count(mobileno) from yourTable
declare @abc varchar(2000) set @abc = (select [B]TOP 1[/B] Sql_Table_Name from temptable10) print @abc
SELECT left(right(myCol,len(myCol)-1),len(myCol)-2) FROM temp2
INSERT INTO dest_table SELECT myColumn1, myColumn2, ... FROM source_table
SELECT productname FROM product_tbl WHERE productname=productgroup
SELECT a.a_value, COUNT(c.*) FROM a INNER JOIN b ON a.a_id=b.b_id LEFT OUTER JOIN c ON b.c_id=c.c_id GROUP BY a.a_value
[B]declare @strMain varchar(100) declare @Id varchar(100) declare @Cd varchar(100) declare @startdate varchar(100) [/B] set @strMain = 'Select * from C_Eng with(nolock) Where ' [B]declare [/B]@strId varchar(100) Set @strId = '' [B]declare [/B]@strCd varchar(100) Set @strCd = '' if @Id is not null and rtrim(ltrim(@Id)) <> '' set
<PartNumber code="123" quantity="96"> <Price unit_price="13309.00" total_amount="1277664.00"></Price>[B]</PartNumber>[/B] <PartNumber code="345" quantity="24">
Leave a comment: