I've a table which stores books:
CREATE TABLE `Books` (
`book_id` int(250) NOT NULL,
`book_name` varchar(100) NOT NULL,
`book_author` varchar(10) NOT NULL,
`book_genre` varchar(100) NOT NULL,
`book_floor` int(5) NOT NULL,
`book_shelf` int(255) NOT NULL,
`book_amount` int(255) NOT NULL,
`book_available` int(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
I want to write a table of users which would have a column for books they borrowed, so it has to store all the information about the book from a Books table and it should be possible to store multiple books. How can I do that?