 |
|
คือผม select ข้อมูล ออกมาได้ดังรูปครับ

Code
Code ครับ
SELECT title.title_name, title.priority, title.description, title.created_date, title.expire_date, title.time_start, title.time_end, main.status, title.title_id, main.main_id,
contact_person.*
FROM contact_person
INNER JOIN title ON contact_person.contact_id = title.contact_id
INNER JOIN main ON title.title_id = main.title_id
แล้วทีนี้ผมต้องการ ให้ title_name ไม่ให้ซ้ำซ้อนครับ ผมลองทั้ง distinct ก็ Error ครับ GROUP BY ก็ Erorr ครับ มันแจ้งแบบนี้ครับ

รบกวนช่วยหน่อยครับ แก้มาสองวันแล้วไม่ได้เลยครับ
Tag : .NET, Ms SQL Server 2005
|
|
 |
 |
 |
 |
Date :
2011-12-02 14:36:15 |
By :
sabayjoo_ |
View :
937 |
Reply :
2 |
|
 |
 |
 |
 |
|
|
|
 |