Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've always wondered why SQL didn't have something like an EXCLUDE clause to make this easier for tables with lots of columns where you wanted a large number of them in the result. Something like (table with columns a through z):

SELECT * EXCLUDE g, m, p, x FROM table



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: