Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Dvostruko sortiranje

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 17.11.2005 21:17    Post subject: Dvostruko sortiranje Add user to your forum ignore list Reply with quote

eto,, do sada sam imao sortiranje po godini, al sada bi htio posto imam semestre, prvi i drugi

kako je mogu izvesti sortiranje to
za sada imam
Code:
"SELECT * FROM News ORDER BY Godine DESC"


e sada,, stavio & al eto,, malo sam kratak sa vremenom i nisam neki rpeveliki expert u aspu.
pa eto.
znaci htio bi dodati jos jedan Orden by godine desc i Semsestar ASC

fala
c
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 17.11.2005 22:55    Post subject: Re: Dvostruko sortiranje Add user to your forum ignore list Reply with quote

:cosmos: wrote:
e sada,, stavio & al eto,, malo sam kratak sa vremenom i nisam neki rpeveliki expert u aspu.
pa eto.

kakve veze ima SQL sa ASP-om? Confused
Code:
"SELECT * FROM News ORDER BY Godine DESC, Semsestar ASC"
Back to top
View user's profile Send private message Send e-mail Visit poster's website
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 18.11.2005 17:03    Post subject: Re: Dvostruko sortiranje Add user to your forum ignore list Reply with quote

Sulien wrote:
:cosmos: wrote:
e sada,, stavio & al eto,, malo sam kratak sa vremenom i nisam neki rpeveliki expert u aspu.
pa eto.

kakve veze ima SQL sa ASP-om? Confused
Code:
"SELECT * FROM News ORDER BY Godine DESC, Semsestar ASC"


thanx za ovo, kakav sql? mislis zbog ovog &? bo

c
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
bj__



Joined: 09 Nov 2004
Posts: 65
Location: Karlovac

PostPosted: 19.11.2005 17:54    Post subject: Add user to your forum ignore list Reply with quote

SQL - structured query language -> jezik za komunikaciju s bazama podataka... ovo "SELECT ..." je naredba u SQL-u... covjek ti je rekao "kakve veze ima sql s asp-om" jer ne moras biti ekspert za asp da bi znao sql... i obrnuto...
Back to top
View user's profile Send private message Twitter profile
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 19.11.2005 21:58    Post subject: Add user to your forum ignore list Reply with quote

SQL je više nego samo jezik za komunikaciju, SQL je standard... MySQL, PostgreSQL i drugi dalje implementiraju taj standard koliko žele/mogu i rade svoje ekstenzije na njega - usprkos proprietary ekstenzijama, posljedica standarda jest da su npr. SELECT, INSERT, UPDATE i dr. praktički jednaki u spomenutim bazama (a slični i u drugima) tako da čovjek ne mora učiti posve novi query language svaki put kad switcha bazu Smile

Pitao si kako da napraviš sortiranje i spomenuo si ASP, ali nisi rekao o kakvoj je bazi riječ, pa sam ja zaključio da bi ovaj standardni izraz radio... inače ASP, PHP i bilo što drugo se može spojiti i konzumirati bilo koju drugu bazu za koju ima drivere, ali naravno da će PHP-ovci preferirati Postgres i MySQL a ASP-ovci MSSQL, Access i sl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group