SELECT book.BookTitle, author.Name, author.Surname, book.YearofPublication FROM book LEFT JOIN author ON book.AuthorID = author.AuthorID;
Enter image description here
This is my current table, I need to create a calculated field to tell me how many years this book has been published, but my brain is broken. Can anyone help?
I tried using xaamp query but didn't see the option.
Try this: