CREATE TABLE table_name_40 (name VARCHAR, group VARCHAR, mark VARCHAR)

Who has a mark of 6.17 in group B?
SELECT name FROM table_name_40 WHERE group = "b" AND mark = "6.17"
SELECT "name" FROM "table_name_40" WHERE "6.17" = "mark" AND "b" = "group"