برای افزودن مقدار جدید به جدول برای تعریف ستونها فقط نام مینویسیم بدون ',"
مقادیر ستونها Values داخل ' , " باید بنویسیم
INSERT INTO table_name (column1, column2, column3, ...) VALUES ('value1', 'value2', 'value3', ...);
سلام خدمت شما این کد در دیتابیس wp_comments وردپرس تست کن
INSERT INTO wp_comments ( comment_post_ID, comment_author,comment_date,comment_date_gmt, comment_content ) VALUES ( 2, 'value3','2022-04-08 07:10:17','2022-04-08 07:10:17','test test') /*VALID*/ INSERT INTO wp_comments ( comment_post_ID, comment_author,comment_date,comment_date_gmt, comment_content ) VALUES ( 2, 'value3','2022-04-08 07:10:17','2022-04-08 07:10:17', test test )/*ERROR*/
در نام جدول احتیاج به ' نیست ولی در value بستگی داره که مقدار عدد باشه یا رشته اگر رشته نیاز به ' است