Forum: MS SQL Oct 2nd, 2009 |
| Replies: 3 Views: 761 Hi guys,
i am faced a problem here where is i need to select a query where the column name is dynamic:
table a
col1 | col2
----------------
A | Ali
B | Abu |
Forum: MS SQL Jul 2nd, 2009 |
| Replies: 1 Views: 1,864 Hello, i have face problem when i need to retrieve data from database (SQL 2000). Below my table :
Column A | Column B
1 a
1 b
2 c
2 ... |
Forum: MS SQL Feb 25th, 2009 |
| Replies: 3 Views: 1,743 Thanks for your helping. I get your means and i can get what i want. Thank you very much |
Forum: MS SQL Feb 25th, 2009 |
| Replies: 3 Views: 1,743 Hi Guys ,
i have faced a sql command problem. That is currently i have 2 different table
a) Select ID, Name from Table1 where ID >=1 and ID ID <=3
ID | Name
1 | Alan
... |
Forum: MS SQL Dec 15th, 2008 |
| Replies: 3 Views: 4,019 hello Guys,
I facing a sql query problem which is i need to join many query into one query. That is :
a) SELECT sum(Total) As [MONEY1]
FROM
((SELECT SUM(T1.Amount+T2.Amount) AS Total FROM... |
Forum: MS SQL Nov 17th, 2008 |
| Replies: 5 Views: 1,465 Thanks Help but i think u misunderstood my question. anyway i had found out the answer
select sum(Total) as [Total Amount]
from
(
select T1.Amount+T2.Amount as Total From TABLE1 T1... |
Forum: MS SQL Nov 14th, 2008 |
| Replies: 5 Views: 1,465 Really thanks for ur help. :)
But Now i have new question about this
refered by to ur answer, if let say i wanna to add condition inside this statement, is it possible?
cox when i try :
select... |
Forum: MS SQL Nov 13th, 2008 |
| Replies: 5 Views: 1,465 HI Huang Zhi,
Thanks your help you.
This statement is work!!! |
Forum: MS SQL Nov 13th, 2008 |
| Replies: 5 Views: 1,465 Hi Guys,
I have some confusing part in the sql command
the question is
i have 2 different query :
a) Select SUM(T1.Amount+T2.Amount) as Total From TABLE1 T1 INNER TABLE2 T2 ON T1.ID =... |