SmashingConf 2014 – the slides

Written on 17 September 2014, 10:32pm

Tagged with: , ,

Day 1:

1. Marcin Wichary (@mwichary)
post
2. Yesenia Perez-Cruz (@yeseniaa)
No slides?
3. Phil Hawksworth (@philhawksworth)
slides
4. Josh Emerson (@joshe)
slides
5. Mathias Bynens (@mathias)
post, related presentation
6. Patty Toland (@pattytoland)
slides
7. Paul Bakaus (@pbakaus)
post
8. Kevin M. Hoffman (@kevinmhoffman)
No slides?
9. Christopher Murphy (@fehler)
No slides?
~~~~

Day 2:

1. Dave Shea (@mezzoblue)
slides
2. Phil Coffman (@philcoffman)
slides
3. Sara Wachter Boettcher (@sara_ann_marie)
slides
4. Gerry Leonidas (@gerryleonidas)
slides
5. Peter Smart (@petewsmart)
slides
6. Matt Andrews (@andrewsmatt)
No slides?
7. Josh Payton (@jpay)
No slides?
8. Jason Grigsby (@grigs)
slides

See also the full coverage on Lanyrd.com

Oracle rownum + order by

Written on 22 August 2014, 09:39am

Tagged with: ,

Don’t do:


SELECT first_name, last_name
FROM employees 
WHERE  rownum = 1
ORDER BY creation_date DESC

You probably want to do this instead:


SELECT * from (
 SELECT first_name, last_name
 FROM employees 
 ORDER BY creation_date DESC
) where rownum = 1 

The first query takes the first row returned by Oracle and orders it by creation_date.
The second query gets the first row of the sub-query that contains the sorted records.
More on Stack Overflow

Versailles