Re: Donovans Theorem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54967
interpreted = N
texte = Good Luck Class! Donovan's Theorem

Donovan's Theorem

The object of this game is to return the following:

Include ONLY records which contain CATEGORY = [theCATEGORY] and/or BRAND = [theBRAND]
Exclude records with the ID = [the_ID]
Exclude records with the PRODUCT_ID = [ProdID]
Exclude all other records.

Extra credit:
Return a summary of the resulting PRODUCT_ID

[TEXT]the_DB=test.db[/TEXT] [TEXT]the_ID=7[/TEXT] [TEXT]ProdID=98765[/TEXT] [TEXT]theCATEGORY=SHOES[/TEXT] [TEXT]theBRAND=Z[/TEXT] theCATEGORY = [theCATEGORY]
theBRAND = [theBRAND]           [search db=[the_DB][!] [/!]&eqCATEGORYdata=[theCATEGORY][!] [/!]&eqBRANDdata=[theBRAND][!] [/!]&nePIDdatarq=[the_ID][!] [/!]&nePRODUCT_IDdataRQ=[ProdID]] NUMFOUND: [Numfound] [founditems]           [/founditems] [/search]
IDPRODUCT_IDCATEGORYBRANDNO_INVENTORYSIZESCOLOURSDESCRIPTIVE
[PID][PRODUCT_ID][CATEGORY][BRAND][NO_INVENTORY][SIZES][COLOURS][DESCRIPTIVE]

/***************************** test.db *******************************/ PIDPRODUCT_IDCATEGORYBRANDNO_INVENTORYSIZESCOLOURSDESCRIPTIVE 112345TSHIRTSZ10LREDThis is a large red Z brand T-shirt 212345TSHIRTSZ10SBLUEThis is a small blue Z brand T-shirt 376543SOCKSQ10MWHITEThis is a Medium white Q brand sock 498765SHOESZ1011RED-WHITEThis is a 11 sized Z brand red and white shoe 598765SHOESZ1012BLUE-WHITEThis is a 12 sized Z brand blue and white shoe 698765SHOESZ1012GREEN-WHITEThis is a 12 sized Z brand GREEN and white shoe 798765SHOESZ1013GREEN-WHITEThis is a 13 sized Z brand GREEN and white shoe 898765SHOESZ1026GREEN-WHITEThis is a 26 sized Z brand GREEN and white shoe 998765SHOESZ105GREEN-WHITEThis is a 5 sized Z brand GREEN and white shoe 1076543SOCKSQ10LWHITEThis is a Large white Q brand sock 1190871SHOESR1026REDThis is a 26 sized R brand RED shoe 1290871SHOESR1010REDThis is a 10 sized R brand RED shoe 1390871SHOESR1010BLUEThis is a 10 sized R brand BLUE shoe 1434567SHOESS1010BLUEThis is a 10 sized S brand BLUE shoe 1534567SHOESS1011BLUEThis is a 11 sized S brand BLUE shoe 1634567SHOESS1010GREENThis is a 10 sized S brand GREEN shoe ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Donovans Theorem ( Donovan Brooke 2003)
  2. Re: Donovans Theorem ( Marc Kaiwi 2003)
  3. Re: Donovans Theorem ( Gary Krockover 2003)
  4. Re: Donovans Theorem ( Brian Fries 2003)
  5. Re: Donovans Theorem ( Marc Kaiwi 2003)
  6. Re: Donovans Theorem ( Marc Kaiwi 2003)
  7. Re: Donovans Theorem ( Donovan Brooke 2003)
  8. Re: Donovans Theorem ( Marc Kaiwi 2003)
  9. Re: Donovans Theorem ( Joe D'Andrea 2003)
  10. Donovans Theorem ( Marc Kaiwi 2003)
Good Luck Class! Donovan's Theorem

Donovan's Theorem

The object of this game is to return the following:

Include ONLY records which contain CATEGORY = [theCATEGORY] and/or BRAND = [theBRAND]
Exclude records with the ID = [the_ID]
Exclude records with the PRODUCT_ID = [ProdID]
Exclude all other records.

Extra credit:
Return a summary of the resulting PRODUCT_ID

[text]the_DB=test.db[/TEXT] [text]the_ID=7[/TEXT] [text]ProdID=98765[/TEXT] [text]theCATEGORY=SHOES[/TEXT] [text]theBRAND=Z[/TEXT] theCATEGORY = [theCATEGORY]
theBRAND = [theBRAND]           [search db=[the_DB][!] [/!]&eqCATEGORYdata=[theCATEGORY][!] [/!]&eqBRANDdata=[theBRAND][!] [/!]&nePIDdatarq=[the_ID][!] [/!]&nePRODUCT_IDdataRQ=[ProdID]] NUMFOUND: [Numfound] [founditems]           [/founditems] [/search]
IDPRODUCT_IDCATEGORYBRANDNO_INVENTORYSIZESCOLOURSDESCRIPTIVE
[PID][PRODUCT_ID][CATEGORY][BRAND][NO_INVENTORY][SIZES][COLOURS][DESCRIPTIVE]

/***************************** test.db *******************************/ PIDPRODUCT_IDCATEGORYBRANDNO_INVENTORYSIZESCOLOURSDESCRIPTIVE 112345TSHIRTSZ10LREDThis is a large red Z brand T-shirt 212345TSHIRTSZ10SBLUEThis is a small blue Z brand T-shirt 376543SOCKSQ10MWHITEThis is a Medium white Q brand sock 498765SHOESZ1011RED-WHITEThis is a 11 sized Z brand red and white shoe 598765SHOESZ1012BLUE-WHITEThis is a 12 sized Z brand blue and white shoe 698765SHOESZ1012GREEN-WHITEThis is a 12 sized Z brand GREEN and white shoe 798765SHOESZ1013GREEN-WHITEThis is a 13 sized Z brand GREEN and white shoe 898765SHOESZ1026GREEN-WHITEThis is a 26 sized Z brand GREEN and white shoe 998765SHOESZ105GREEN-WHITEThis is a 5 sized Z brand GREEN and white shoe 1076543SOCKSQ10LWHITEThis is a Large white Q brand sock 1190871SHOESR1026REDThis is a 26 sized R brand RED shoe 1290871SHOESR1010REDThis is a 10 sized R brand RED shoe 1390871SHOESR1010BLUEThis is a 10 sized R brand BLUE shoe 1434567SHOESS1010BLUEThis is a 10 sized S brand BLUE shoe 1534567SHOESS1011BLUEThis is a 11 sized S brand BLUE shoe 1634567SHOESS1010GREENThis is a 10 sized S brand GREEN shoe ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Marc Kaiwi

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Resolve IP to Domain (2018) Online reference (1997) creating a 60 fields database (1997) SpiderBotLock! (2003) [WebDNA] Carriage Return/Line Feed Issue (2009) SiteEdit NewFile.html ? (1997) New syntax feedback for 4.0 (2000) [OT] Changing permissions on W2003 via FTP (2007) Virtual Domains (1998) syntax question, not in online refernce (1997) It finally happened ... (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) unix permissions theory applied to db security? Or...? (2000) Not really WebCat- (1997) Createfolder / writefile problem (2004) Help! WebCat2 bug (1997) RE: 2nd WebCatalog2 Feature Request (1996) ErrorLog with Linux? (2000) Calendar (1997) sorting by date (1999)