Click here to Skip to main content
15,914,286 members
Home / Discussions / Database
   

Database

 
AnswerRe: Triggers Pin
andyharman16-Jul-07 20:27
professionalandyharman16-Jul-07 20:27 
QuestionQuery Help Pin
Hulicat16-Jul-07 9:40
Hulicat16-Jul-07 9:40 
AnswerRe: Query Help Pin
Hulicat16-Jul-07 11:44
Hulicat16-Jul-07 11:44 
QuestionOracle Network Conn Sting Pin
kallileo16-Jul-07 6:15
kallileo16-Jul-07 6:15 
AnswerRe: Oracle Network Conn Sting Pin
Paul Conrad16-Jul-07 8:32
professionalPaul Conrad16-Jul-07 8:32 
GeneralRe: Oracle Network Conn Sting Pin
kallileo16-Jul-07 20:55
kallileo16-Jul-07 20:55 
QuestionGrouping in Microsoft Reporting Service Pin
Rupesh Kumar Swami16-Jul-07 5:21
Rupesh Kumar Swami16-Jul-07 5:21 
QuestionDistinct in Quey Pin
Khan.Bangash16-Jul-07 3:58
Khan.Bangash16-Jul-07 3:58 
Hi All
What is wrong in this Query I want only one record of a customer. If he have many records.
If I remove the othere tables from the queyr then it works fine.

SELECT DISTINCT cust_order.customer_id AS cust_id, cust_order.order_id AS order_id, customers.fname AS fname, customers.lname AS lname, cust_order.order_date AS order_date, cust_order.order_status AS order_status
FROM cust_order, customers, cust_debit
WHERE customers.customer_id=cust_order.customer_id and cust_order.order_id = cust_debit.order_id and cust_debit.amount >=2000;

pls help me.
Thanks in Advance.
AnswerRe: Distinct in Quey Pin
Colin Angus Mackay16-Jul-07 5:00
Colin Angus Mackay16-Jul-07 5:00 
GeneralRe: Distinct in Quey Pin
Khan.Bangash16-Jul-07 5:08
Khan.Bangash16-Jul-07 5:08 
AnswerRe: Distinct in Quey Pin
andyharman16-Jul-07 5:11
professionalandyharman16-Jul-07 5:11 
GeneralRe: Distinct in Quey Pin
Khan.Bangash16-Jul-07 5:17
Khan.Bangash16-Jul-07 5:17 
GeneralRe: Distinct in Quey Pin
Blue_Boy16-Jul-07 5:26
Blue_Boy16-Jul-07 5:26 
QuestionUpdating Bulk Record in oracle 10 g, Pin
nabeelkhan16-Jul-07 1:34
nabeelkhan16-Jul-07 1:34 
QuestionRe: Updating Bulk Record in oracle 10 g, Pin
andyharman16-Jul-07 5:17
professionalandyharman16-Jul-07 5:17 
QuestionDateTime Problem Pin
Mohammed Elkholy16-Jul-07 1:15
Mohammed Elkholy16-Jul-07 1:15 
AnswerRe: DateTime Problem Pin
Blue_Boy16-Jul-07 2:35
Blue_Boy16-Jul-07 2:35 
GeneralRe: DateTime Problem Pin
sidbaruah17-Jul-07 19:03
sidbaruah17-Jul-07 19:03 
AnswerRe: DateTime Problem Pin
Kschuler16-Jul-07 9:23
Kschuler16-Jul-07 9:23 
QuestionHow to fetch data and display in Excel using Macro(VBA) Pin
Tech_spidy16-Jul-07 0:00
Tech_spidy16-Jul-07 0:00 
AnswerRe: How to fetch data and display in Excel using Macro(VBA) Pin
TomGarth16-Jul-07 4:11
TomGarth16-Jul-07 4:11 
Questionhow to write query Pin
harithadotnet15-Jul-07 23:08
harithadotnet15-Jul-07 23:08 
AnswerRe: how to write query Pin
Colin Angus Mackay15-Jul-07 23:23
Colin Angus Mackay15-Jul-07 23:23 
AnswerRe: how to write query Pin
PrakashBhaskar15-Jul-07 23:28
PrakashBhaskar15-Jul-07 23:28 
GeneralRe: how to write query Pin
Colin Angus Mackay15-Jul-07 23:33
Colin Angus Mackay15-Jul-07 23:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.