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:

Emailer [cart] file names (1997) Exclamation point (1997) WebDNA EMail Preference (2005) WebDNA EMail Preference (2005) Can't Update records (1997) RequiredFields notes ... (1997) Calendar Program (2004) replace problem (1999) Emailer Problem (1998) Here we go again... (2006) Intermitent problem using [referrer] (1997) Problems with [Search] param - Mac Plugin b15 (1997) Navigator 4.01 (1997) USPS change to SSL tcpconnect (2007) WebCat on Intel Core 2 macs anyone? (2007) 404 Error and Web * V (2003) WebCatalog2 Feature Feedback (1996) WebDNA on Red Hat Enterprise Linux 4 x64 (2006) Comments in db? (1997) WebCatalog.acgi quitting with error Type 2 (1998)