top download

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
platinum
Forum Newbie
Posts: 6
Joined: Sat Feb 21, 2004 4:20 pm

top download

Post by platinum »

Pretty new here, in fact its my very first post (yay i hear u all say :S)
i've done a search for the subject but nothing stands out and hits me in the face that would qualify, also googled but nothing that suits.

looking for a code snippet to just grab the highest 5 numbers from a field in a MySQL db and ordered by the highest number, looked breafly in my MySQL books can't find anything (but that might have something to do with the carlsberg 8O )

Any help would be appreciated!!!
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Welcome to the community. I think a basic MySQL tutorial is in order. I recommend doing this yourself because it is such a simple job and you will have to learn sometime, why not start now? :)

Google: [google]mysql tutorial select[/google]
MySQL Manual: http://mysql.com/SELECT
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I learned the SQL syntax from http://www.sqlcourse.com . I recommend with 6/5 stars!
platinum
Forum Newbie
Posts: 6
Joined: Sat Feb 21, 2004 4:20 pm

Post by platinum »

cheers guys will have a butchers at that in a mo.
platinum
Forum Newbie
Posts: 6
Joined: Sat Feb 21, 2004 4:20 pm

Post by platinum »

Definaly had a blonde moment last night, brain was foo-bared, but thanks anyway guys
Post Reply