Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Querying Select Number of Rows

by Arguile (Hermit)
on Jun 05, 2001 at 03:52 UTC ( #85665=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    ORDER BY field1, field2
    ...
    -- implicit OFFSET (MySQL)
    
    LIMIT 10,1
    
  2. or download this
    ...
    FROM table1 a, table2 b
    WHERE rownum <= 10
    ...
    
  3. or download this
    SELECT TOP 10 field1, field2, ... ,fieldn
    FROM ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://85665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-01-17 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?