You want to use an UPDATE query that modifies values ββin existing records. The INSERT query strictly adds new entries.
UPDATE Meeting
SET MeetingNotes = 'testing'
WHERE MeetingProcessId = '1001' AND MeetingId = '25'
In the future, I'm not sure why there is a SELECT statement in your example: there is no need to insert or update records. Inserting a new record into the collection table (only for the three columns shown) looks like this:
INSERT INTO Meeting (MeetingId, MeetingProcessId, MeetingNotes)
VALUES ('25', '1001', 'Notes about this very exciting meeting...')
The couple notes this:
- INSERT , , WHERE
MeetingId - , , / INSERT.- (CHAR/VARCHAR) , , . , , , MeetingId MeetingProcessId , ,
25 1001