Jump to content

vhkristof

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Posts posted by vhkristof

  1. Well,

     

    I don\'t know if this will work, but I know that in Oracle you have

    a statement called ROWID...so this would be like

    
    SELECT    ROWID AS \'rank\', column1, column2
    
    FROM       table
    
    WHERE     rank = 2

     

    I don\'t know if this will work ..., let me know

  2. Hey,

     

    Here is what I want to do ...

    I\'ve got a table with the birthdays (when they were born, year eg 1982).

    I wan\'t to select the people who will celebrate their birthday

    between tomorrow and 8 days from now ...

     

    Is there a way?

    Problem is the years are 1982, 1983, ... and not 2003

     

    Thx!

  3. Nope, it ain\'t working :\'(

     

    This is my code:

    [php:1:8651aac6a3]<?php

    $sql = mysql_query(\"SELECT *

    FROM kalender

    WHERE ploegid = \'$ploegid\'

    AND matchid NOT EXISTS (

    SELECT verslag.matchid

    FROM wedstrijdverslagen verslag, kalender

    WHERE kalender.matchid = verslag.matchid

    )

    \")

    or die(mysql_error());

    ?>[/php:1:8651aac6a3]

     

    I also tried removin\' matchid from AND matchid NOT EXISTS ...

     

     

    Thx for your reply\'s !

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.