Reputation: 4897
I am planning a C# query tool which is to facilitate the creation of queries, to be used by individuals who have absolutely no knowledge of SQL.
I would like to display the user's query in a format which is easily understandable. Two options which I thought of are Venn Diagrams or natural language. An example of the latter case (to further elaborate on the question) could be:
The user uses the tool and the SQL statement generated by the tool would be something like SELECT SALARY FROM EMPLOYEES
.
The tool could display the query as an easily understandable format, such as: "The report is going to display the salary of all employees".
That could be one approach - by using natural language techniques. Another could be by presenting Venn Diagrams, as many people can understand this notation.
Are there any other ways of representing the query, which could be easily understood?
Upvotes: 1
Views: 346
Reputation: 76
Natural language is probally the best option, Venn Diagrams could confuse people. Easiest approach would be to give a couple of people some SQL training so they can make their own repports and and also act as a gate-keeper for other types of repports they can't make themself. We use this approach and it works very well.
Upvotes: 1
Reputation: 6534
As already commented on other asnwer, Venn diagrams are not easy to understand for eveyone, even less for non technical users. From previous experiences working with clients asking for similar funcionalities I suggest taking a couple of their most advanced users and go hard on them teaching how to use some reporting tool. Configure the tool and let them play a lot with it giving them some feedback and help. Finally after a while, if correctly done, you can leave them on the wild at those advanced users will do the job.
Upvotes: 0