Re: strange or impossible query?

2002-06-07 Thread Rob
I'm afraid I'm not quite clear on what you're trying to do; do you want one result per row, with one NULL column and one non-NULL column, or do you want one row per distinct 'machine', with both a start and a stop date? In the first case, this can be implemented with a simple IF(): IF(field_funct

strange or impossible query?

2002-06-07 Thread Fabrizio Tivano
Hello dear all, i have a table like this: field_machine, field_date, field_time, field_function. field_function can be =TT or +BT well i need to perform a select query, witch display on one line field_machine, (field_date, field_time where field_function =TT) AS start, (field_date,