CREATE TABLE images ( id INT ,prev_id INT ,next_id INT ,other_columns_here );