CREATE TABLE table_name_18 (rank INT, lane VARCHAR, nationality VARCHAR, name VARCHAR)

Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6?
SELECT AVG(rank) FROM table_name_18 WHERE nationality = "france" AND name = "alain bernard" AND lane < 6
SELECT AVG("rank") FROM "table_name_18" WHERE "alain bernard" = "name" AND "france" = "nationality" AND "lane" < 6