CREATE TABLE table_204_363 (id DECIMAL, "res." TEXT, "record" TEXT, "opponent" TEXT, "method" TEXT, "event" TEXT, "date" TEXT, "round" DECIMAL, "time" TEXT, "location" TEXT, "notes" TEXT)

lesnar beat herring in ufc 87 , in what event was his previous win ?
SELECT "event" FROM table_204_363 WHERE "res." = 'win' AND "date" < (SELECT "date" FROM table_204_363 WHERE "event" = 'ufc 87') ORDER BY "date" DESC LIMIT 1
SELECT "event" FROM "table_204_363" WHERE "date" < (SELECT "date" FROM "table_204_363" WHERE "event" = 'ufc 87') AND "res." = 'win' ORDER BY "date" DESC NULLS LAST LIMIT 1