select u.* from Categories u order by click desc limit 3

SELECT * FROM `Categories` WHERE `click`<( SELECT MAX(`click`)-2 FROM Categories) ORDER by click DESC

CRUD : 

http://www.entityframeworktutorial.net/what-is-entityframework.aspx
CRUD :
https://www.youtube.com/watch?v=sxrft6sChFw

https://www.youtube.com/watch?v=b6vTIiBNcJ0

http://www.aspsnippets.com/Articles/Entity-Framework-CRUD-Select-Insert-Edit-Update-Delete-using-Entity-Framework-in-ASPNet.aspx

https://www.youtube.com/watch?v=K4x6eoG7hwY



Linq QUERY


http://www.entityframeworktutorial.net/Querying-with-EDM.aspx

http://www.dotnettricks.com/learn/linq/sql-joins-with-csharp-linq

http://www.entityframeworktutorial.net/what-is-entityframework.aspx

http://www.tutorialsteacher.com/linq/linq-tutorials

Comments

Popular posts from this blog

SQL Joins with C# LINQ

What is Entity Framework?