user-1: I would like to make a collection of chess games that feature the 'Greek gift' sacrifice. There are few games on chessgames.com annotated with this sacrifice. I could find blogs with individual examples of games with this type of sacrifice (example: 1, 2, 3, 4, 5, and 6); however they are not in a readily downloadable format. 
Is there a collection of games that feature this sacrifice? If not, is there any way I can search for and get collections of games featuring this sacrifice using a chess database like SCID? 

user4399: 
in chesstempo's recent tag update (2021Oct), you can find greek gift in their tags
in lichess you can try kingside attack or queenside attack


user-1: Thank you @Glorfindel . I didn't know about Chess Querry Language. It is indeed a wonderful tool. Going through basic syntax of CQL from their website, I came up with the following script and method that can pick out "Greek gift sacrifice" by either black or white from any pgn database. I provide an example below using a UNIX system. 
First, download a pgn database of your interest (example.pgn). 
Second, using a text editor save the following script as a text file greek_gift.cql with the extension .cql.
cql (input example.pgn)
flipcolor flip 
next (Bh7
      kh7)

Keep the executable cql program (downloaded from the CQL website), the cql file greek_gift.cql and the input pgn file example.pgn in the same folder. 
Open the terminal and navigate to the folder. 
Execute the command  ./cql greek_gift.cql.
A new pgn file greek_gift-out.pgn will be generated in the same directory. Note that this will contain games with Bh7 sacrifice by white as well as Bh2 sacrifice by black, followed by capture by the opponent king. 
I am not a programmer; please edit the script if anybody thinks there is an error. 

user7297: Something which might help here is Chess Query Language. Just like SQL does for relational databases, CQL can search in a database of chess games for positions/games which match certain criteria.
I must say I have never used it myself, but it seems to be capable of amazing things, far more complex than what you're looking for. Here is an old article showing a few beautiful studies Tim Krabbé was able to find with the help of CQL.

-1: <p>I would like to make a collection of chess games that feature the <a href="https://en.wikipedia.org/wiki/Greek_gift_sacrifice" rel="noreferrer">'Greek gift' sacrifice</a>. There are <a href="http://www.chessgames.com/perl/chesscollection?cid=1010201" rel="noreferrer">few games on chessgames.com</a> annotated with this sacrifice. I could find blogs with individual examples of games with this type of sacrifice (example: <a href="http://exeterchessclub.org.uk/content/greek-gift" rel="noreferrer">1</a>, <a href="http://chessimprover.com/the-greek-gift/" rel="noreferrer">2</a>, <a href="http://www.chesskit.com/training/existing/knights/greek_gift/index.htm" rel="noreferrer">3</a>, <a href="http://www.thequietmove.com/tactics-greek-gift/" rel="noreferrer">4</a>, <a href="https://www.chess.com/article/view/the-greek-gift-sacrifice-lives-on" rel="noreferrer">5</a>, and <a href="https://www.ichess.net/blog/master-greek-gift-sacrifice-bxh7/" rel="noreferrer">6</a>); however they are not in a readily downloadable format. </p>

<p>Is there a collection of games that feature this sacrifice? If not, is there any way I can search for and get collections of games featuring this sacrifice using a chess database like SCID? </p>
 4399: <ol>
<li>in chesstempo's <a href="https://chesstempo.com/blog/27/new-tactics-tagging-system" rel="nofollow noreferrer">recent tag update</a> (2021Oct), you can find greek gift in their tags</li>
<li>in lichess you can try <a href="https://lichess.org/training/queensideAttack" rel="nofollow noreferrer">kingside attack</a> or <a href="https://lichess.org/training/kingsideAttack" rel="nofollow noreferrer">queenside attack</a></li>
</ol>
 -1: <p>Thank you @Glorfindel . I didn't know about Chess Querry Language. It is indeed a wonderful tool. Going through basic syntax of CQL from their website, I came up with the following script and method that can pick out "Greek gift sacrifice" by either black or white from any <code>pgn</code> database. I provide an example below using a UNIX system. </p>

<p>First, download a pgn database of your interest (<code>example.pgn</code>). </p>

<p>Second, using a text editor save the following script as a text file <code>greek_gift.cql</code> with the extension <code>.cql</code>.</p>

<pre><code>cql (input example.pgn)
flipcolor flip 
next (Bh7
      kh7)
</code></pre>

<p>Keep the executable <code>cql</code> program (downloaded from the <a href="http://www.gadycosteff.com/cql/doc/download.html" rel="nofollow noreferrer">CQL website</a>), the cql file <code>greek_gift.cql</code> and the input pgn file <code>example.pgn</code> in the same folder. </p>

<p>Open the terminal and navigate to the folder. </p>

<p>Execute the command  <code>./cql greek_gift.cql</code>.</p>

<p>A new pgn file <code>greek_gift-out.pgn</code> will be generated in the same directory. Note that this will contain games with Bh7 sacrifice by white as well as Bh2 sacrifice by black, followed by capture by the opponent king. </p>

<p>I am not a programmer; please edit the script if anybody thinks there is an error. </p>
 7297: <p>Something which might help here is <a href="http://www.gadycosteff.com/cql" rel="nofollow noreferrer">Chess Query Language</a>. Just like SQL does for relational databases, CQL can search in a database of chess games for positions/games which match certain criteria.</p>
<p>I must say I have never used it myself, but it seems to be capable of amazing things, far more complex than what you're looking for. <a href="https://timkr.home.xs4all.nl/chess2/cql.htm" rel="nofollow noreferrer">Here</a> is an old article showing a few beautiful studies Tim Krabbé was able to find with the help of CQL.</p>
