I did it 4 years ago, and today I need it again.
So, after opening the main.db file with SQLite Browser, you need to:
Define a conversation identifier (one person can be in several conversations):
select conv_dbid, * from Chats where friendlyname like '%Friendly Name%';
OR you can find the desired conversation id using
select * from Conversations where identity like '%accountname%';
Finally, SQL Query to get all messages from the desired conversation:
select body_xml, datetime(timestamp, 'unixepoch'), edited_by, edited_timestamp
from Messages where convo_id=YOUR_CONVERSATION_ID;
Unfortunately, I found that the field main.db body_xml, edit_by and edit_timestamp change every time someone edits / deletes the message, and there is no backup in body_xml main.db .
But don’t worry! There is a chatsync folder next to the main.db database (in your skype / AppData / Roaming / Skype / Account_Name_Folder account folder).
chatsync Skype, , http://www.nirsoft.net/utils/skype_log_view.html
SkypeLogView, skype ( skype, ). .
!