SELECT * FROM images WHERE img_desc NOT IN ('') AND keyword_1 NOT IN ('') AND keyword_2 NOT IN ('') AND keyword_3 NOT IN ('') AND keyword_4 NOT IN ('') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('') AND keyword_1 NOT IN ('') AND keyword_2 NOT IN ('') AND keyword_3 NOT IN ('') AND keyword_4 NOT IN ('') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people )

1. BROOM=>broom mop household people
SELECT * FROM images WHERE img_desc NOT IN ('BROOM') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck )

2. GAS PUMP=>gas gas station auto truck
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ )

3. SANTA CLAUS=>santa christmas holiday christ
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach )

4. BIKINI GIRL=>bikini girl woman beach
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa )

5. COCONUT=>coconut food shell cocoa
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa [20] => stamps [21] => stamp [22] => philately [23] => paper )

6. STAMPS=>stamps stamp philately paper
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa [20] => stamps [21] => stamp [22] => philately [23] => paper [24] => squirrel [25] => animal [26] => nature [27] => fur )

7. SQUIRREL=>squirrel animal nature fur
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa [20] => stamps [21] => stamp [22] => philately [23] => paper [24] => squirrel [25] => animal [26] => nature [27] => fur [28] => legs [29] => tub [30] => bath [31] => body )

8. LEGS IN A TUB=>legs tub bath body
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL', 'LEGS IN A TUB') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL', 'LEGS IN A TUB') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa [20] => stamps [21] => stamp [22] => philately [23] => paper [24] => squirrel [25] => animal [26] => nature [27] => fur [28] => legs [29] => tub [30] => bath [31] => body [32] => kilimanjaro [33] => snow [34] => clouds [35] => mountain )

9. KILIMANJARO=>kilimanjaro snow clouds mountain
SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL', 'LEGS IN A TUB', 'KILIMANJARO') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BROOM', 'GAS PUMP', 'SANTA CLAUS', 'BIKINI GIRL', 'COCONUT', 'STAMPS', 'SQUIRREL', 'LEGS IN A TUB', 'KILIMANJARO') AND keyword_1 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_2 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_3 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') AND keyword_4 NOT IN ('broom', 'mop', 'household', 'people', 'gas', 'gas station', 'auto', 'truck', 'santa', 'christmas', 'holiday', 'christ', 'bikini', 'girl', 'woman', 'beach', 'coconut', 'food', 'shell', 'cocoa', 'stamps', 'stamp', 'philately', 'paper', 'squirrel', 'animal', 'nature', 'fur', 'legs', 'tub', 'bath', 'body', 'kilimanjaro', 'snow', 'clouds', 'mountain') ORDER BY RAND() LIMIT 1

Array ( [0] => broom [1] => mop [2] => household [3] => people [4] => gas [5] => gas station [6] => auto [7] => truck [8] => santa [9] => christmas [10] => holiday [11] => christ [12] => bikini [13] => girl [14] => woman [15] => beach [16] => coconut [17] => food [18] => shell [19] => cocoa [20] => stamps [21] => stamp [22] => philately [23] => paper [24] => squirrel [25] => animal [26] => nature [27] => fur [28] => legs [29] => tub [30] => bath [31] => body [32] => kilimanjaro [33] => snow [34] => clouds [35] => mountain [36] => one dollar [37] => one [38] => dollar [39] => cash )

10. ONE DOLLAR=>one dollar one dollar cash
?>