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] => bulb [1] => hands [2] => hand [3] => body )

1. BULB IN HANDS=>bulb hands hand body
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake )

2. WATER=>water ocean drop lake
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words )

3. QUESTION MARK=>question mark punctuation writing words
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture )

4. LEGS ON A CABINET=>cabinet legs feet furniture
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest )

5. CASTLE=>castle building house forest
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest [20] => spiral staircase [21] => spiral [22] => stairs [23] => household )

6. SPIRAL STAIRCASE=>spiral staircase spiral stairs household
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest [20] => spiral staircase [21] => spiral [22] => stairs [23] => household [24] => sphinx [25] => egypt [26] => pyramid [27] => sand )

7. SPHINX=>sphinx egypt pyramid sand
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest [20] => spiral staircase [21] => spiral [22] => stairs [23] => household [24] => sphinx [25] => egypt [26] => pyramid [27] => sand [28] => snowmobile [29] => snow [30] => people [31] => winter )

8. SNOWMOBILE=>snowmobile snow people winter
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX', 'SNOWMOBILE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX', 'SNOWMOBILE') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest [20] => spiral staircase [21] => spiral [22] => stairs [23] => household [24] => sphinx [25] => egypt [26] => pyramid [27] => sand [28] => snowmobile [29] => snow [30] => people [31] => winter [32] => Money [33] => Cash [34] => Coins [35] => Bills )

9. MONEY=>Money Cash Coins Bills
SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX', 'SNOWMOBILE', 'MONEY') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') ORDER BY RAND() LIMIT 1SELECT * FROM images WHERE img_desc NOT IN ('BULB IN HANDS', 'WATER', 'QUESTION MARK', 'LEGS ON A CABINET', 'CASTLE', 'SPIRAL STAIRCASE', 'SPHINX', 'SNOWMOBILE', 'MONEY') AND keyword_1 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_2 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_3 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') AND keyword_4 NOT IN ('bulb ', 'hands', 'hand', 'body', 'water', 'ocean', 'drop', 'lake', 'question mark', 'punctuation', 'writing', 'words', 'cabinet', 'legs', 'feet', 'furniture', 'castle', 'building', 'house', 'forest', 'spiral staircase', 'spiral', 'stairs', 'household', 'sphinx', 'egypt', 'pyramid', 'sand', 'snowmobile', 'snow', 'people', 'winter', 'Money', 'Cash', 'Coins', 'Bills') ORDER BY RAND() LIMIT 1

Array ( [0] => bulb [1] => hands [2] => hand [3] => body [4] => water [5] => ocean [6] => drop [7] => lake [8] => question mark [9] => punctuation [10] => writing [11] => words [12] => cabinet [13] => legs [14] => feet [15] => furniture [16] => castle [17] => building [18] => house [19] => forest [20] => spiral staircase [21] => spiral [22] => stairs [23] => household [24] => sphinx [25] => egypt [26] => pyramid [27] => sand [28] => snowmobile [29] => snow [30] => people [31] => winter [32] => Money [33] => Cash [34] => Coins [35] => Bills [36] => bourbon [37] => whiskey [38] => beverage [39] => alcohol )

10. BOURBON=>bourbon whiskey beverage alcohol
?>