|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
test aggregate functions without a dummy table
Hi,
I want to test the behavior of an an aggregate without creating a dummy table for it. But the code for it is horrible. Is there no simpler way? select max(foo) from (select 1 as foo union select 2 as foo)bar; thx |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Databases > test aggregate functions without a dummy table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|