Page 4 of 4 FirstFirst 1234
Results 37 to 48 of 48

Thread: Any programming help for anyone..

  1. #37
    bilal14's Avatar
    bilal14 is offline Senior Member+
    Last Online
    15th July 2017 @ 01:54 PM
    Join Date
    10 Dec 2009
    Location
    Karachi
    Age
    34
    Gender
    Male
    Posts
    78
    Threads
    6
    Credits
    59
    Thanked
    3

    Default

    W3School se to me ye sb parh chuka hu jo topics ha is me , mjhe syntax and functions sb pata ha kaise use hoge bt hard queries nia likh pata for exp select last record from table

  2. #38
    aajizUsmani's Avatar
    aajizUsmani is offline Senior Member+
    Last Online
    21st January 2015 @ 12:13 AM
    Join Date
    23 Nov 2013
    Gender
    Male
    Posts
    202
    Threads
    27
    Credits
    0
    Thanked
    13

    Default

    Quote bilal14 said: View Post
    W3School se to me ye sb parh chuka hu jo topics ha is me , mjhe syntax and functions sb pata ha kaise use hoge bt hard queries nia likh pata for exp select last record from table
    acha ap yeh batao k ap ko sql k function hy.. jese max, min etc aur sql k syntax jese order by, group by etc and condition like where etc ka idea hy??

    ap jo pouch rahe hy k kese sab se aakhri row hum select karenge... yeh cheze usi waqt possible hy (is query se jo me de raha hou) jab hamare pas index ho... jo automatic generate horaha ho.... then you can make this query like

    select top 1 * from temp order by ID desc; ------------------ (1)

    idhar top 1 se muraad pehla record hy upper se jo b aaye...

    yaani select top 1 * from temp;
    karenge to woh pehla record le kar aayega...

    lekin aagey ki condition ki wajah se jo hum ne query 1 me di hy... us se haamra last record pehla ban jayega woh kese?? Order by ek syntax hy jis ka kaam yeh houta hy k woh jis feild par lag jaye to poura table order me aajata hy.... ab idhar ID ek field hy jis me 1 se le kar 100 ya 1000 ya is se b ziyada k input diye gaye hy... to jab order by karenge to woh in sab ko order me le ayega.... suppose karo k woh pehle se hi order me hy... to hamara last record 100 houga... to aakhir me hum ne desc lagaya hy (desc=descending) to is lihaaz se 100 record sab se pehle aajayega... u hamari sab se aakhri record hum access kar sakte hy....

  3. #39
    GujratMardan's Avatar
    GujratMardan is offline Advance Member
    Last Online
    29th May 2022 @ 07:28 AM
    Join Date
    26 Jun 2011
    Location
    Mardan
    Age
    36
    Gender
    Male
    Posts
    965
    Threads
    6
    Credits
    462
    Thanked
    59

    Default

    sir ap ne bohat acha selsla shro kiya hay. Allah ap ko es ka sela day. aik waqt main mujhay vb seekhnay ka bohat shoq tha leken es main kuch problem paish aye jes ke waja se os ko chor dia.

  4. #40
    bilal14's Avatar
    bilal14 is offline Senior Member+
    Last Online
    15th July 2017 @ 01:54 PM
    Join Date
    10 Dec 2009
    Location
    Karachi
    Age
    34
    Gender
    Male
    Posts
    78
    Threads
    6
    Credits
    59
    Thanked
    3

    Default

    g mjhe in sb ka idea ha . ye query b me likh leta hu bt complex queries me masla hota ha .

  5. #41
    aajizUsmani's Avatar
    aajizUsmani is offline Senior Member+
    Last Online
    21st January 2015 @ 12:13 AM
    Join Date
    23 Nov 2013
    Gender
    Male
    Posts
    202
    Threads
    27
    Credits
    0
    Thanked
    13

    Default

    Quote GujratMardan said: View Post
    sir ap ne bohat acha selsla shro kiya hay. Allah ap ko es ka sela day. aik waqt main mujhay vb seekhnay ka bohat shoq tha leken es main kuch problem paish aye jes ke waja se os ko chor dia.
    meri koshish to yehi hy k me sab k kaam aaou par yaha aisa nai lag raha

    kyun k me time nai nikaal pata aur dosri taraf log yeh smjh rahe hy k me ne har kisi k liye kiya hy... halaan k jo log nai jante is baare me un ko batane me waqt lagta hy... aur itna waqt me nai de skataa.. filhaal.... kher idhar kuch log hy jinhe kuch kuch smjh hy... Allah kare k me in ki madad kar hi lou... aameen

  6. #42
    aajizUsmani's Avatar
    aajizUsmani is offline Senior Member+
    Last Online
    21st January 2015 @ 12:13 AM
    Join Date
    23 Nov 2013
    Gender
    Male
    Posts
    202
    Threads
    27
    Credits
    0
    Thanked
    13

    Default

    Quote bilal14 said: View Post
    g mjhe in sb ka idea ha . ye query b me likh leta hu bt complex queries me masla hota ha .
    acha to phir ap ko kaha problem aarahi hy?? me kuch cheezein batata hou ta k ap in me se kisi ki nishand dahi kar lo..
    1. Store procedure
    2. table joining like join keyword...
    3. condition wagera..
    4. primary key foreign key concept
    aur b cheezein hy ab ap bataoge nai to me kese smjhounga??

    ya phir ap yeh kehna chah rahe hounge k kese hum bari bari queries likhte hy??
    ya phir kuch aur??????? ab mjhe jab tak pata nai chalega me kese bata sakta hou?? ap kuch example de dein me koshish karounga..

  7. #43
    bilal14's Avatar
    bilal14 is offline Senior Member+
    Last Online
    15th July 2017 @ 01:54 PM
    Join Date
    10 Dec 2009
    Location
    Karachi
    Age
    34
    Gender
    Male
    Posts
    78
    Threads
    6
    Credits
    59
    Thanked
    3

    Default

    G bari queries kaise likhte ha is me masla ha and joining sai nai ati mjhe

  8. #44
    Aleena_Khan's Avatar
    Aleena_Khan is offline Senior Member+
    Last Online
    13th July 2017 @ 10:22 PM
    Join Date
    10 Mar 2014
    Location
    Peshawar
    Age
    27
    Gender
    Male
    Posts
    488
    Threads
    23
    Credits
    882
    Thanked
    15

    Default

    Quote aajizUsmani said: View Post
    Aap ki baat me smjha nai??? ap kiya kehna chah rahe ho?? and secondly yeh kaam HTML ka nai hy yeh ya to java script se houga ya kisi aur tareeqe se .. pehle mjhe pata chale k ap kiya kehna chah rahe ho??? ap pouri detail batao k ap kiya search karna chah rahe ho? then me kuch bata sakta hou.. kyun k ap ki baatou se kuch sahih pata nai chal raha..
    bro , mai html mai ayk search engine bnana chahta ho. Kesy karo?

  9. #45
    aajizUsmani's Avatar
    aajizUsmani is offline Senior Member+
    Last Online
    21st January 2015 @ 12:13 AM
    Join Date
    23 Nov 2013
    Gender
    Male
    Posts
    202
    Threads
    27
    Credits
    0
    Thanked
    13

    Default

    Quote bilal14 said: View Post
    G bari queries kaise likhte ha is me masla ha and joining sai nai ati mjhe
    acha to is k liye ap pehle join seekho.
    me ne ap ko ek link diya hy is me se parhne ki koshish karo.

    join example

    agar smjh naa aaye to mjh se poch lenaa..

  10. #46
    aajizUsmani's Avatar
    aajizUsmani is offline Senior Member+
    Last Online
    21st January 2015 @ 12:13 AM
    Join Date
    23 Nov 2013
    Gender
    Male
    Posts
    202
    Threads
    27
    Credits
    0
    Thanked
    13

    Default

    Quote Aleena_Khan said: View Post


    bro , mai html mai ayk search engine bnana chahta ho. Kesy karo?
    is k liye me ap ki help nai kar sakta. kyun k is par mene kam nai kiya abi tak.

  11. #47
    bilal14's Avatar
    bilal14 is offline Senior Member+
    Last Online
    15th July 2017 @ 01:54 PM
    Join Date
    10 Dec 2009
    Location
    Karachi
    Age
    34
    Gender
    Male
    Posts
    78
    Threads
    6
    Credits
    59
    Thanked
    3

    Default

    Thanks , agaya samjh join kaise use hoga.

  12. #48
    WAQAS1412's Avatar
    WAQAS1412 is offline Senior Member+
    Last Online
    20th January 2021 @ 02:42 PM
    Join Date
    01 Apr 2013
    Location
    Islamabad
    Age
    26
    Gender
    Male
    Posts
    8,617
    Threads
    160
    Credits
    83
    Thanked
    622

    Default

    ok


Page 4 of 4 FirstFirst 1234

Similar Threads

  1. Computer science & programming
    By physiology in forum Educational Discussion
    Replies: 10
    Last Post: 3rd July 2014, 11:15 PM
  2. all format and unlock codes
    By IT_DOCTOR in forum General Mobile Discussion
    Replies: 30
    Last Post: 29th December 2011, 08:19 PM
  3. Expired Here i post many codes for cdma phones
    By UGly DEAr in forum General Mobile Discussion
    Replies: 4
    Last Post: 9th August 2011, 08:15 PM
  4. All type of phones (old modeles): NAM programming:
    By tahseenrajput in forum General Mobile Discussion
    Replies: 2
    Last Post: 31st January 2009, 08:59 PM
  5. Mobile Phone Secrets & Tricks
    By tahseenrajput in forum General Mobile Discussion
    Replies: 11
    Last Post: 28th January 2009, 03:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •